<div>
  <!-- 搜索功能 -->
  <el-input placeholder="请输入搜索内容" v-model='searchText' class="input-with-select">
    <el-button slot="append" icon="el-icon-search" @click='btnSearch'></el-button>
  </el-input>
  <!-- 渲染表格 -->
  <el-table
  :data="userList"
  style="width: 100%">
  <el-table-column
    prop="role_name"
    label="姓名"
    width="180">
  </el-table-column>
  <el-table-column
    prop="email"
    label="邮箱"
    width="180">
  </el-table-column>
  <el-table-column
    prop="mobile"
    label="电话">
  </el-table-column>
  <el-table-column
    prop="mg_state"
    label="用户状态"
    width="180">
  </el-table-column>
  <el-table-column
    label="操作">
  </el-table-column>
</el-table>
<!-- 设置分页 -->
<el-pagination
  background
  layout="prev, pager, next"
  :total="totalpage"
  :page-size='pagesize'
  @current-change='currentChange'
  >
</el-pagination>
<!--  -->
</div>
